/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bank_Program;
import java.io.PrintWriter;
import java.io.FileNotFoundException;

public class Bank_User_List {
    
    public static void write(String code){
        String filename =  "UsersWithPasswords.txt";
        try{
          PrintWriter outputStream = new PrintWriter(filename);
          outputStream.println(code);
          outputStream.close();
          System.out.printf("Done.");
        }catch (FileNotFoundException e){
            e.printStackTrace();
        }
        
        
        
        
    } 
  
    
}
